package com.cgnpc.scp.sri.laboratory.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("tbl_sri_laboratory_phase_progress")
public class LaboratoryPhaseProgress {
    private String id;

    private String phaseId;

    private String progressRemark;

    private String progressQuestion;

    private String fileId;

    private String processStatus;

    private Date processFinalTime;

    private String procInstId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPhaseId() {
        return phaseId;
    }

    public void setPhaseId(String phaseId) {
        this.phaseId = phaseId == null ? null : phaseId.trim();
    }

    public String getProgressRemark() {
        return progressRemark;
    }

    public void setProgressRemark(String progressRemark) {
        this.progressRemark = progressRemark == null ? null : progressRemark.trim();
    }

    public String getProgressQuestion() {
        return progressQuestion;
    }

    public void setProgressQuestion(String progressQuestion) {
        this.progressQuestion = progressQuestion == null ? null : progressQuestion.trim();
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus == null ? null : processStatus.trim();
    }

    public Date getProcessFinalTime() {
        return DateUtil.cloneNewDate(processFinalTime);
    }

    public void setProcessFinalTime(Date processFinalTime) {
        this.processFinalTime = DateUtil.cloneNewDate(processFinalTime);
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    @TableField(exist = false)
    private String fileName;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}